package com.wh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wh.common.ApiRestResponse;
import com.wh.model.pojo.User;
import com.wh.model.vo.UserLoginVo;
import com.wh.model.vo.UserRegisterVo;

/**
 * @author: wh(1835734390 @ qq.com)
 * @date: 2022/11/15 21:38
 * @description:
 * @version:
 */
public interface UserService extends IService<User> {
    //用户注册
    public void register (UserRegisterVo userRegisterVo);
    //用户登录
    public ApiRestResponse login (UserLoginVo userLoginVo);

    String refreshAccessToken(String refreshToken);

}
